<!--/**
 * Created by IntelliJ IDEA.
 * User: Winnie
 * Date: 25/04/14
 * Time: 10:37
 */ -->
<?php
session_start();	//start session
if(!isset($_SESSION['username'])){	//check if the user data is in the session
    header("location: login.php");	//if not redirect back to user
}
?>
<html>
    <head>
        <title>HOME</title>
        <link rel="stylesheet" href="style.css">
        <script src="jquery-1.11.0.js"></script>
    </head>
    <body>
       <table >
            <tr>
                <td colspan="2" id="pageheader">
                    HEALTH INFORMATION SYSTEMS
                </td>
            </tr>
            <tr>
                <td id="mainnav">
                    <div class="menuitem"><a href = "userslist.php">Users</a></div>
                    <div class="menuitem"><a href ="community_lists.php">Community</div>
                    <div class="menuitem"><a href="">District</a></div>
                    <div class="menuitem"><a href="">Sub-district</a></div>
                    <div class="menuitem"><a href="">CHO's</a></div>
                    <div class="menuitem"><a href="logout.php">LOGOUT</a></div>

                </td>
                <td id="content">

                </td>
            </tr>
        </table>
    </body>
</html>
